package com.wfl.sampling.service;

import com.wfl.sampling.entity.PostClick;
import com.wfl.sampling.entity.PostDo;
import com.wfl.sampling.entity.PostNew;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface PostService {

    public void createPost(PostDo post);

    public List<PostDo> findPost();
    public void deletePost(Integer postId);

    boolean insertComment(PostNew postNew);

    boolean insertClick(PostClick postClick);

    List<Integer> getAllClick(Integer id);
}
